package com.ruoyi.exam.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 消息表
 * </p>
 *
 * @author FSD
 * @since 2024-02-20
 */
@Getter
@Setter
@TableName("t_message")
@ApiModel(value = "Message对象", description = "消息表")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    private LocalDateTime createTime;

    @ApiModelProperty("发送者用户ID")
    private Integer sendUserId;

    @ApiModelProperty("发送者用户名")
    private String sendUserName;

    @ApiModelProperty("发送者真实姓名")
    private String sendRealName;

    @ApiModelProperty("接收人数")
    private Integer receiveUserCount;

    @ApiModelProperty("已读人数")
    private Integer readCount;


}
